import { calculate } from '@/apis/calculateAPI'

export default function useCalculate() {
  async function calc(args: Record<string, any>) {
    return await calculate(args)
  }

  return { calc }
}
